﻿using Blazui.Component;
using Blazui.Component.ControlConfigs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Project13776616780_01.ViewModel
{
    public class AppSettingModel
    {
        [EditorGenerator(Label = "标题前缀", IsRequired = false)]
        [FormControl(LabelWidth = 200)]
        public string NamePrefix { get; set; }
        [FormControl(LabelWidth = 200)]
        [EditorGenerator(Label = "标题后缀", IsRequired = false)]
        public string NameSuffix { get; set; }
        [EditorGenerator(Label = "LOGO 背景图片")]
        [Upload(Url = "/api/upload/logo", Type = UploadType.Image)]
        [FormControl(LabelWidth = 200)]
        public IFileModel[] Logo { get; set; }
    }
}
